<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body style="font-family:Arial, Helvetica, sans-serif;">
<h2><?php echo $this->shop." Stock Check"?></h2>
<form id="form1" name="form1" method="post" action="">
  <label for="code_location">Barcode: </label>
  <input type="text" name="barcode" />
  <input type="submit" name="btn_go" id="btn_go" value="Go" />
</form>
<br />
<br />
<table width="750" border="1" cellspacing="0" cellpadding="15">
  <tr>
    <td align="left">Barcode </td>
    <td style="width:350px;"> Description </td>
    <td align="center">Shop Stock</td>
  </tr>
<?php 
if(!empty($this->arrSlist)){
foreach($this->arrSlist as $key => $v){?>  
  <tr>
    <td><?php echo $v[0]?></td>
    <td><?php echo $v[1]?></td>
    <td><?php echo $v[2]?></td>
  </tr>
<?php }
}else{ ?>
	<tr>
		<td colspan = "3">No Barcode Exist</td>
	</tr>
<?php }?>  
</table>
<p>&nbsp;</p>
</body>
</html>
